﻿using Microsoft.Office.OneNote;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace se.Sternerson.OneNote.MHTExport
{
    internal class OneNoteAccess
    {
        #region Singleton
        private OneNoteAccess instance = null;
        private OneNoteAccess() { }
        
        internal OneNoteAccess Instance
        {
            get
            {
                if (this.instance == null)
                    this.instance = new OneNoteAccess();
                return this.instance;
            }
        }
        #endregion
        
        internal OneNoteHierarchy Hierarchy
        {
            get
            {
                return OneNoteHierarchy.Current;
            }
        }
    }
}
